package com.zx.mes.hyl.upms.service.impl;

import com.zx.mes.hyl.upms.dao.BugTypeRepository;
import com.zx.mes.hyl.upms.model.Tbugtype;
import com.zx.mes.hyl.upms.service.BugTypeServiceI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hyl
 *
 */
@Service
public class BugTypeServiceImpl implements BugTypeServiceI {


    @Autowired
    private BugTypeRepository bugTypeRepository;

    @Override
    public List<Tbugtype> getBugTypeList() {
        return bugTypeRepository.findAll();
    }
}
